package com.lyf.service;

import com.lyf.dto.DishDTO;
import com.lyf.dto.DishPageQueryDTO;
import com.lyf.pojo.Dish;
import com.lyf.result.PageResult;
import com.lyf.vo.DishItemVO;
import com.lyf.vo.DishVO;

import java.util.List;

public interface DishService {
    PageResult pageQuery(DishPageQueryDTO dishPageQueryDTO);

    void saveWithFlavor(DishDTO dishDTO);

    DishVO getByIdWithFlavor(Long id);

    void updateWithFlavor(DishDTO dishDTO);

    void deleteBatch(List<Long> ids);

    void startOrStop(Dish dish);

    List<DishVO> list(Long categoryId);

    List<DishItemVO> getSetmealDIshItemsBySetmealId(Long id);
}
